CheckUserID Method

The CheckUserID method checks whether the User ID in Key Properties of the Key matches the User ID in the account. 

Syntax

C#

public CheckUserIDRes CheckUserID(string ActivationKey, string UserID)

 

XML

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

  <soap:Body>

    <CheckUserID xmlns="http://tempuri.org/">

      <ActivationKey>string</ActivationKey>

      <UserID>string</UserID>

    </CheckUserID>

  </soap:Body>

</soap:Envelope>

Parameters

ActivationKey

The Activation Key to access the account.

UserID

The User ID to be checked.

Return Value

C#

public struct CheckUserIDRes

{

    public int ErrorCode;

    public string ErrorMessage;

}

 

XML

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

  <soap:Body>

    <CheckUserIDResponse xmlns=" http://tempuri.org/">

      <CheckUserIDResult>

        <ErrorCode>int</ErrorCode>

        <ErrorMessage>string</ErrorMessage>

      </CheckUserIDResult>

    </CheckUserIDResponse>

  </soap:Body>

</soap:Envelope>

ErrorCode

Returns 0 if success; otherwise, see the Error Code.

ErrorMessage

Returns error message if the ErrorCode is not 0.